package manager.cms.dao;

import manager.cms.vo.CmsContentVO;

import java.util.List;

public interface CmsContentDao {
    //分页查询所有CMS分类数据
    public List<CmsContentVO> selectByConditionPage(CmsContentVO cmsContentVO);
    //不分页查询
    public List<CmsContentVO> selectByCondition(CmsContentVO cmsContentVO);
    //分页统计使用的条数
    public Integer selectByConditionPageCount(CmsContentVO cmsContentVO);
    //批量保存
    public void addCmsContentBatch(List<CmsContentVO> cmsContentList);
    //单个保存
    public void addCmsContent(CmsContentVO cmsContentVO);
    //修改分类
    public void updateCmsContent(CmsContentVO cmsContentVO);
    //删除分类
    public void deleteCmsContent(String[] ids);
    //删除所有
    public void deleteAllCmsContent();
}
